package io.renren.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.sys.entity.MerchantEntity;

import java.util.Map;

/**
 * 代理商商户
 *
 * @author Mark
 * @email sunlightcs@gmail.com
 * @date 2019-10-11 10:46:27
 */
public interface MerchantService extends IService<MerchantEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils merchantlist(Map<String, Object> params);

    MerchantEntity infoByUserid(Integer id);

    int queryLineCodeNum(Integer userid);

    MerchantEntity getMerchantByUserid(Integer userid);

    PageUtils merchantPage(Map<String, Object> params);
}

